import Vue from 'vue'
import Vuex from 'vuex'
import cart from './modules/cart'
import coupons from './modules/coupons'
import success from './modules/success'
import comData from './modules/comData'
import error from './modules/error'
import clientMessage from "./modules/clientMessage";
import getters from "./getters";

Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    cart,
    coupons,
    success,
    comData,
    error,
    clientMessage
  },
  getters
})

export default store
